package com.java.dp.copy;

/**
 * @Author lizhilong
 * @create 2019/12/2 15:34
 * @desc
 */
public class Subject implements Cloneable{

    private String name;

    private Double score;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setScore(Double score) {
        this.score = score;
    }
}
